package com.wms.web.action;

import com.wms.model.Product;

import java.io.IOException;

/**
 * @author This
 * @version 1.0
 * @className ProductAction
 * @description TODO
 * @date 2019/8/7 10:29
 */
public class ProductAction extends BaseAction<Product> {

    private Integer sIds[];

    @Override
    public void save() throws IOException {
        if (null != sIds && sIds.length > 0) {
            for (int i = 0; i < sIds.length; i++) {
                System.out.println(sIds[i]);
            }
        }
        System.out.println("==================");
        System.out.println("产品：" + getModel());
    }

    @Override
    public void edit() {

    }

    @Override
    public void delete() throws IOException {

    }

    @Override
    public void showList() throws IOException {

    }

    public void setsIds(Integer[] sIds) {
        this.sIds = sIds;
    }
}
